There are 3 writing system used in Japanese namely the Kanji, Hiragana and the Katakana scripts.
Kanji was based on Chinese characters which represents a word and a meaning.
Hiragana is a phonetic script used to represent Japanese sound.

Katakana is a phonetic script used to represent Foreign loan words.
.
.